package com.sur.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sur.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

@Mapper
@Component
@FeignClient(value = "Consumer") //服务提供者提供的服务名称，即 application.name
public interface EmployeeMapper extends BaseMapper<Employee> {

}
